#main {
	border: 1px solid #666;
	clear: both;
	background: #99FF99;
/*	background: #FFF3B3; */
	padding-top: 2em;
}

#contents {
	padding: 1.5em;
/*	padding-top: 25px ; */
/*	background: #FFFDF3; */
	background: #99ff99;
/* otherwise too big for cclite 
	min-height: 300px; */
}

#header {
	position: relative;
	width: 100%; 
	height: 3em;
/*	border-style: solid ;  */
/*	width: 45em;  a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
}

#header ul#primary {
	margin: 0;
	padding: 0;
/*	border-style: solid ;  */
	position: relative;
	bottom: -1.5em;
	width: 45em; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
}

#header ul#primary li  {
	display: inline;
	list-style: none;
}

#header ul#primary a,#header ul#primary span,#header ul#primary a.current {
	width: 8em;
	display: block;
	float: left;
	padding: 4px 0;
	margin: 1px 2px 0 0;
	text-align: center;
	font-family: tahoma, verdana, sans-serif;
	font-size: 75%;
	text-decoration: none;
	color: #333;
}

span#title, li#title {
	float: right;
	display: inline;
        margin: 0 0 0 0px;
/*	padding: 0 0 0 50px;
	border-style: solid ; */
	list-style: none;
	text-align: right;
	font-family: tahoma, verdana, sans-serif;
	font-size: 75%;
	text-decoration: none;
	color: #333;
}




input, select, textarea {
    color: #06C; 
    background-color: #ffffcc; 
}

input.pme-save, input.pme-cancel {
    color: #06C; 
    background: #f0f0cc ;
}

#header ul#primary span,#header ul#primary a.current,#header ul#primary a.current:hover {
	border: 1px solid #666;
	border-bottom: none;
	background: #FFF3B3;
	padding-bottom: 6px;
	margin-top: 0;
}

#header ul#primary a {
	background: #99ff99;
/*	background: #FFFAE1; */
	border: 1px solid #AAA;
	border-bottom: none;
}

#header ul#primary a:hover {
	margin-top: 0;
	border-color: #666;
	background: #FFF7CD;
	padding-bottom: 5px;
}

#header ul#secondary {
	position: relative;
	margin: 0;
	padding: 0;
	bottom: -4em;
	left: 1px;
	width: 45em;  /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
}

#header ul#secondary li a,#header ul#secondary li span {
	width: auto;
	display: block;
	float: left;
	padding: 0 10px;
	margin: 0;
	text-align: auto;
	border: none;
	border-right: 1px dotted #AAA;
	background: none;

}

#header ul#secondary li a {
	color: #06C;
	text-decoration: underline;
}

#header ul#secondary li a:hover {
	color: #333;
	background: transparent;
	padding: 0 10px;
	border: none;
	border-right: 1px dotted #AAA;
}

#header ul#secondary li a:active {
	color: #000;
	background: transparent;
}

#header ul#secondary li:last-child a { border: none; }




/* autosuggestion template */

    div.autocomplete {
      position:absolute;
      width:250px;
      background-color:white;
      border:1px solid #888;
      margin:0px;
      font-size: 85%;
      padding:0px;
    }
    div.autocomplete ul {
      list-style-type:none;
      margin:0px;
      padding:0px;
    }
    div.autocomplete ul li.selected { background-color: #ffb;}
    div.autocomplete ul li {
      list-style-type:none;
      display:block;
      margin:0;
      padding:1px;
      height:15px;
      cursor:pointer;
    }

/* basic css apart from tabs above */


/*html { min-width: 600px; } */

body, div, td, th, h2, h3, h4 { /* redundant rules for bad browsers  */  
    font-family: verdana,sans-serif;
	font-size:    x-small;
	voice-family: "\"}\"";
	voice-family: inherit;
	font-size: small;
	color: #333;
}  
.clearhack { display: inline; } /*Clears Box Model Hack in IE5*/

body {
	background: #EDEBE3;
	color: #333;
	padding: 1em 20px 3em 20px;
	margin: 0;
}

a { color: #06C; }
a:hover { color: #333; }
a:active { color: #000; }

p { line-height: 140%; }

h1,h2 {
	font-family: trebuchet ms;
	font-weight: bold;
	color: #333;
}

h1 {
	font-size: 180%;
	margin: 0;
}

h1 a { text-decoration: none; color: #333; }
h1 a:hover { border-bottom: 1px dotted #666; color: #000; }

h2 {
	font-size: 140%;
	padding-bottom: 2px;
	border-bottom: 1px solid #CCC;
	margin: 0;
}

 



td {
/*	background: #FFFDF3; */
/*	background: #99ff99; */
 /*       border: solid ;
        border-width: 1px; */
	padding: 4px;
	font-family: sans-serif;
	font-size: 80%;
	line-height: 130%;
	margin-top: 0;
}


td.results {
/*	background: #FFFDF3; */
	background: #99ff99;
        border: solid ;
        border-width: 1px;
	padding: 4px;
	font-family: sans-serif;
	font-size: 80%;
	line-height: 130%;
	margin-top: 0;
}


td.wanted {
/*	background: #FFFDF3; */
	background: #99ff00;
	padding: 4px;
	font-family: sans-serif;
	font-size: 80%;
	line-height: 130%;
	margin-top: 0;
}

td.offered {
/*	background: #FFFDF3; */
	background: #99ff99;
	padding: 4px;
	font-family: sans-serif;
	font-size: 80%;
	line-height: 130%;
	margin-top: 0;
}

span.pme-key-0 {
	border: none;
        color: #06C;
}

/* style for newsflash */
span.news {
	border: solid;
	float: right ;
        padding: 2px;
        margin-right: 10px;
        color: #06C;
}

/* style for back button */
span.back {
	float: left ;
        display: inline ;
        margin-left: 5px;
        color: #06C;
}


p.note {
	background: #EEE;
	padding: 4px;
	font-family: tahoma;
	font-size: 85%;
	line-height: 130%;
	margin-top: 0;
}

/* rules for superscripts and subscripts */

sub.spaced , sup.spaced { 
 line-height: 0; 
  font-size: 70%;
  color: red;
}

